<#include "../../../inc/public.ftl"/>
<#macro html title_="lifes77" js_=[]>
<!DOCTYPE html>
<html lang="zh" class="app">
<head>
    <title>${title_!''}</title>
    <#include "head.ftl"/>
</head>
<body>
    <#include "header.ftl"/>
    <#nested />
    <#include "footer.ftl"/>
    <#list js_ as li>
    <script src="<@res u_=li/>"></script>
    </#list>
    <script>
    $(function () {
        $(".header-nav").click(function () {
            if($(".header-nav ul").css("visibility")!="hidden"){
                $(".header-nav ul").css({"visibility":"hidden"});
            }else{
                $(".header-nav ul").css({"visibility":"inherit"});
            }
        })
    })

    </script>
    <script src="${root}/js/lifes/login.js"></script>
    <script src="${root}/js/lifes/check_login.js"></script>
</body>
</html>
</#macro>

<#macro script_>
    <#nested />
</#macro>